﻿//-------------------------------------------------------------------------
///-----------------udp_each_session---------------------------------------
///-----------------进程通讯会话类-----------------------------------------
///-----------------2022/3/28---by mv------------------------------
//-------------------------------------------------------------------------
#pragma once

//-------------------------------------------------------------------------
#ifndef _CLASS_UDPECHOSESSION_H
#define _CLASS_UDPECHOSESSION_H
//-------------------------------------------------------------------------
//#include "common/global_include.h"
#include "common/mvPubApi.h"
//-------------------------------------------------------------------------

void Push_ConnectState(int i);
void Push_Connect(char* sgateno, char* iphost, int32_t iport);
void analysisReplydata(const std::string &replydata);
void processReplyData(Json::Value value);

bool sendPushData(std::string sData);

//推送OCR信息
void pushOCRData(const int iStatus, const std::string &sOcrData);

//推送人脸信息
void pushFaceData(const std::string &sFaceData);

//推送虹膜信息
void pushIrisData(const std::string &sIrisData);

//推送通关人数
void pushPersonNumberData(const std::string &sNumberData, const std::string &sHeightData);

//推送硬件到位信号
void pushDeviceSignal(const int iDeviceSignal);

//流程切换
void pushProcessSwitch(const int iProcess);

//系统状态上传
void pushTerminalStatus(const std::string &sData);


//推送车辆距离参数
void pushVehicleDistance(const int heught,const int width); 

//-------------------------------------------------------------------------
#endif //!_CLASS_UDPECHOSESSION_H
